<?php

/* @var $this \yii\web\View */
/* @var $content string */

use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use frontend\assets\AppAsset;

AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title) ?></title>
    <?php $this->head() ?>
</head>
<body>
<?php $this->beginBody() ?>

<div class="wrap">
<!--    顶部导航栏begin-->
    <div class="visible-lg-block visible-md-block"><!--visible-lg-block：大屏幕可见 visible-md-block:中等屏幕可见-->
        
    </div>
    <div class="visible-xs-block visible-sm-block"><!--visible-xs-block：手机屏幕可见 visible-sm-block:平板屏幕可见-->
        <div class="normal-navbar">
            <a href="javascript:history.back(-1)" style="display: block;">
                <div class="goback-arrow-outter"><div class="goback-arrow"></div></div>
            </a>
        </div>
    </div>
    <!--    顶部导航栏end-->
    
    <div class="container">
        <?= $content ?>
    </div>
</div>

<footer class="footer">
    <div class="container">
        <p class="pull-left">&copy; <?= Html::encode(Yii::$app->name) ?> <?= date('Y') ?></p>

        <p class="pull-right"><?= Yii::powered() ?></p>
    </div>
</footer>

<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>
